/*package com.hdoit.ares.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.tennetcn.common.annotation.QuartzTaskConfig;

@QuartzTaskConfig(cronTrigger = " 0 0 1 * * ?", jobTitle = "用于监控未交会费的创客，逾期未交将自动降为会员")
public class QuartzDowngradeJob implements Job{
	0 0 3 * * ?
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		//第一步使用脚本语句使过期创客降级
		
		System.err.println("测试打印几次");
		//第二步使降级的高创不能登录后台
		IWithdrawParamService withdrawParamService = CommonApplicationContextUtil.getCurrentContext().getBean(IWithdrawParamService.class);
		WithdrawParam withdrawParam = withdrawParamService.queryModelByHelpCode("firstReward");
		String id = String.valueOf(withdrawParam.getParam());
		System.err.println("id"+id);
		
		double money = 10.0;
		Customer customer = new Customer();
		customer.setUserIdentity(10769);
		IAppRemindMessageService appRemindMessageService = CommonApplicationContextUtil.getCurrentContext().getBean(IAppRemindMessageService.class);
		JpushClient.sendawardMoneyApp(money, customer, appRemindMessageService);
		
		IAppRemindMessageService appRemindMessageService = CommonApplicationContextUtil.getCurrentContext().getBean(IAppRemindMessageService.class);
		int userIdentity=10772;
		Customer currentCustomer=new Customer();
		currentCustomer.setLevel("maker");
		currentCustomer.setUsername("小徐徐");
		Customer firstCustomer=new Customer();
		firstCustomer.setLevel("highMaker");
		firstCustomer.setUsername("巧玲");
		Customer secondCustomer = new Customer();
		secondCustomer.setLevel("maker");
		JpushClient.sendUpdateLevelApp(userIdentity, currentCustomer, firstCustomer, secondCustomer, "123", appRemindMessageService);
	}

}
*/
